/**
 * Created by fangshufeng on 2018/3/25.
 */

export function action1(data) {
    return {
        type: 'PRODUCT_ADD',
        data
    }
}

export function action2(data) {
    return {
        type: 'PRODUCT_ADD2',
        data
    }
}

export const rightViewAction =  (data) => {
    return {
        type: 'PRODUCT_ADD3',
        data
    }
};

export function loginAction(data) {
    return {
        type: 'PRODUCT_Login',
        data
    }
}

export function logout(data) {
    return {
        type: 'PRODUCT_Logout',
        data
    }
}